package icursoft.educationms.http;

import java.util.Objects;

/**
 * Created by Administrator on 2016/12/21.
 */

public class HttpResult {

    int msg = 0;
    int count = -1;
    String success = null;
    String msgbox = null;
    Object data = null;//说明：msg>0时返回数据为token

    @Override
    public String toString() {
        return "HttpResult{" +
                "msg=" + msg +
                ", count=" + count +
                ", success='" + success + '\'' +
                ", msgbox='" + msgbox + '\'' +
                ", data='" + data + '\'' +
                '}';
    }

    public int getMsg() {
        return msg;
    }

    public void setMsg(int msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMsgbox() {
        return msgbox;
    }

    public void setMsgbox(String msgbox) {
        this.msgbox = msgbox;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
